package com.book.shelves.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("shelves_store")
public class BookStore {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("bookname")
    private String bookname;

    @TableField("pubid")
    private String pubid;

    @TableField("type")
    private String type;

    @TableField("bookmoney")
    private Integer bookmoney;

    @TableField("num")
    private Integer num;

    @TableField("warningnumber")
    private Integer warningnumber;

    @TableField("flag")
    private String flag;

    //报损类型
    @TableField(exist = false)
    private String bookfrom;

    //报损详情
    @TableField(exist = false)
    private String message;

    //负责人
    @TableField(exist = false)
    private String principal;

    //报损标签
    @TableField(exist = false)
    private String breakageid;

    //报损驳回，锁定数据
    @TableField(exist = false)
    private Integer storeid;
}
